package cn.project.xigui.ex;


import lombok.Getter;

/**
 * 处理业务异常类
 */
public class ServiceException extends RuntimeException{
    @Getter
    private Integer code;

    public ServiceException(String message,Integer code) {
        super(message);
        this.code = code;
    }
}
